<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
     <style>
         div{
            width: 100px;
            height: 100px;

            display: inline;

         }
         .div1{
            background-color: brown;
         }

         .div2{
            background-color: blue;
         }

         span{
            width: 300px;
            height: 300px;
            background-color: red;

            display: block;
         }

         img{
            width: 100px;
            height: 100px;
         }
     </style>
</head>
<body>
    <div class="div1">你好啊</div><div class="div2">我好</div>
    <span>你好</span><span>你好</span>
    <img src="./1.png" alt="">
</body>
</html>